January 29, 2006 RELIABLE ADA SOLUTION : LOOKING LIKE JAVA STYLE
avec Get_LR seulement

*****   DINING PHILOSOPHERS WITH STICK ALLOCATION AS MANY AS AVAILABLE
*****   RELIABLE ADA SOLUTION : LOOKING LIKE JAVA STYLE
*****   WITH CONCURRENCY RATIO INSTRUMENTATION
 5 philosophers thinking 0.010000000 and eating 0.010000000
 and (when Java monitor semantics) requesting 0.000000000
                 CONCURRENCY MEASURES DISPLAY
 NbMealsAttended =   100000
 NbPairs :  43489
 NbRequestSingletons :  56511
 NbStructuralRefusals :  100010
 NbCautiousRefusals :  86433
 Total number of denials =   186443
      Total simulation time is    512.100365000
      Mean allocation time is     249.023057400
      Allocation ratio is         0.486277836
      Philosopher  0  remains hungry during  249.313122000
      Philosopher  1  remains hungry during  250.686590000
      Philosopher  2  remains hungry during  249.316152000
      Philosopher  3  remains hungry during  247.682805000
      Philosopher  4  remains hungry during  248.116618000

real    8m32.271s
user    0m15.580s
sys     0m7.930s


************************************************
OLD ER
***************************************
January 23, 2006 RELIABLE ADA SOLUTION : LOOKING LIKE JAVA STYLE
avec Get_LR et Get_R

Ordinateur-de-pacha:~ claudePB$ time ./diner

*****   DINING PHILOSOPHERS WITH STICK ALLOCATION AS MANY AS AVAILABLE
*****   RELIABLE ADA SOLUTION : LOOKING LIKE JAVA STYLE
*****   WITH CONCURRENCY RATIO INSTRUMENTATION
 5 philosophers thinking 0.010000000 and eating 0.010000000
 and (when Java monitor semantics) requesting 0.000000000
                 CONCURRENCY MEASURES DISPLAY
 NbMealsAttended =   100000
 NbPairs :  43085
 NbRequestSingletons :  56915
 NbStructuralRefusals :  103239
 NbCautiousRefusals :  87939
 Total number of denials =   191178
      Total simulation time is    477.458270000
      Mean allocation time is     231.127692600
      Philosopher  0  remains hungry during  229.828418000
      Philosopher  1  remains hungry during  232.437348000
      Philosopher  2  remains hungry during  230.956954000
      Philosopher  3  remains hungry during  231.289663000
      Philosopher  4  remains hungry during  231.126080000

real    7m57.616s
user    0m12.080s
sys     0m5.750s


************************************
*****   DINING PHILOSOPHERS WITH STICK ALLOCATION AS MANY AS AVAILABLE
*****   RELIABLE ADA SOLUTION : LOOKING LIKE JAVA STYLE
*****   WITH CONCURRENCY RATIO INSTRUMENTATION
 5 philosophers thinking 0.100000000 and eating 0.050000000
 and (when Java monitor semantics) requesting 0.000000000
                 CONCURRENCY MEASURES DISPLAY
 NbMealsAttended =   100
 NbPairs :  58
 NbRequestSingletons :  42
 NbStructuralRefusals :  65
 NbCautiousRefusals :  19
 Total number of denials =   84
      Total simulation duration is    1.919764000
      Allocation waiting duration is  1.778378000
      Philosopher  0  remains hungry during  0.383115000
      Philosopher  1  remains hungry during  0.397167000
      Philosopher  2  remains hungry during  0.361184000
      Philosopher  3  remains hungry during  0.313551000
      Philosopher  4  remains hungry during  0.323361000
Ordinateur-de-pacha:~ claudePB$ ./diner

*****   DINING PHILOSOPHERS WITH STICK ALLOCATION AS MANY AS AVAILABLE
*****   RELIABLE ADA SOLUTION : LOOKING LIKE JAVA STYLE
*****   WITH CONCURRENCY RATIO INSTRUMENTATION
 5 philosophers thinking 0.100000000 and eating 0.050000000
 and (when Java monitor semantics) requesting 0.000000000
                 CONCURRENCY MEASURES DISPLAY
 NbMealsAttended =   100
 NbPairs :  65
 NbRequestSingletons :  35
 NbStructuralRefusals :  47
 NbCautiousRefusals :  6
 Total number of denials =   53
      Total simulation duration is    1.741855000
      Allocation waiting duration is  1.222753000
      Philosopher  0  remains hungry during  0.185299000
      Philosopher  1  remains hungry during  0.120175000
      Philosopher  2  remains hungry during  0.319750000
      Philosopher  3  remains hungry during  0.312050000
      Philosopher  4  remains hungry during  0.285479000
Ordinateur-de-pacha:~ claudePB$ ./diner

*****   DINING PHILOSOPHERS WITH STICK ALLOCATION AS MANY AS AVAILABLE
*****   RELIABLE ADA SOLUTION : LOOKING LIKE JAVA STYLE
*****   WITH CONCURRENCY RATIO INSTRUMENTATION
 5 philosophers thinking 0.100000000 and eating 0.050000000
 and (when Java monitor semantics) requesting 0.000000000
                 CONCURRENCY MEASURES DISPLAY
 NbMealsAttended =   100
 NbPairs :  61
 NbRequestSingletons :  39
 NbStructuralRefusals :  62
 NbCautiousRefusals :  10
 Total number of denials =   72
      Total simulation duration is    1.867195000
      Allocation waiting duration is  1.647964000
      Philosopher  0  remains hungry during  0.315611000
      Philosopher  1  remains hungry during  0.366436000
      Philosopher  2  remains hungry during  0.261036000
      Philosopher  3  remains hungry during  0.272223000
      Philosopher  4  remains hungry during  0.432658000